home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Stretching the Mind
/
Lyric Writer
< prev
next >
Wrap
Lisp/Scheme
|
1997-06-06
|
906b
|
38 lines
(defun make-sentence (length words)
(let (out)
(dotimes (i length)
(push (pick-random words) out))
out))
(defun make-sentences (n words)
(terpri)
(dotimes (i n)
(print-list (make-sentence (pick-random '(3 4 5)) words))))
(defun print-list (l)
(mapcar #'(lambda (x) (princ x) (princ " ")) l)
(terpri))
(setq words '(
This module enables to input 3 dimensional data or 3 simulataneous
parameters for auditioning in this example a 10 dimensional oscillating
superstring-like object is auditioned by pushing 3 probes into it
User control could cover rhythmics voicing initial tonality
))
(make-sentences 10 words)
-->
3 it 3
control 3 initial or dimensional
into voicing superstring-like
initial to in into oscillating
dimensional this this cover
by object probes
3 for simulataneous user auditioned
initial module 3 data
3 initial input
for this a for parameters